// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_imgex.p_a;

import android.view.MotionEvent;
import java.lang.reflect.Field;

// Referenced classes of package com.nnee.p_imgex.a:
//            d

public class cls_a
{

    public cls_a(MotionEvent motionevent)
    {
        e = motionevent;
    }

    public static cls_a a(MotionEvent motionevent)
    {
        Object obj;
        if(d)
            obj = new cls_d(motionevent);
        else
            obj = new cls_a(motionevent);
        return ((cls_a) (obj));
    }

    public float a(int i)
    {
        return 0F;
    }

    public int a()
    {
        return 1;
    }

    public float b(int i)
    {
        return 0F;
    }

    public int b()
    {
        return e.getAction();
    }

    public float c()
    {
        return e.getX();
    }

    public float d()
    {
        return e.getY();
    }

    public MotionEvent e()
    {
        return e;
    }

    public long f()
    {
        return e.getEventTime();
    }

    public static final String a = "MotionEventWrapper";
    public static final int b;
    public static final int c;
    public static final boolean d;
    protected MotionEvent e;

    static 
    {
        boolean flag = false;
        try {
			android.view.MotionEvent.class.getMethod("getPointerCount", new Class[0]);
		} catch (SecurityException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (NoSuchMethodException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        flag = true;
 
        int i;
        int j;
        d = flag;
        i = 5;
        j = 6;
        if(!d)
           {
        	b=0;
        	c=0;
           }
        else
        {
        int k=0;
        try {
			i = android.view.MotionEvent.class.getField("ACTION_POINTER_DOWN").getInt(null);
		} catch (IllegalArgumentException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (SecurityException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (NoSuchFieldException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        try {
			k = android.view.MotionEvent.class.getField("ACTION_POINTER_UP").getInt(null);
		} catch (IllegalArgumentException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (SecurityException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (NoSuchFieldException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        j = k;
 
        c = i;
        b = j;
        }
    }
}
